Andrei Pall

Linux Software Engineering

Spring MVC Annotations - Guide with Examples

Spring MVC is a Java framework for web applications and REST APIs. Its annotations handle routing, request data, validation, responses, and errors. Some commonly used annotations come from the broader Spring ecosystem or Jakarta Validation rather than Spring MVC itself.

Read More

JPA Annotations in Java - Guide with Examples

JPA (Jakarta Persistence API) maps Java objects to relational database tables. Modern applications use `jakarta.persistence.*`; older applications use `javax.persistence.*`. Hibernate and EclipseLink are JPA implementations.

Read More

PHP Attributes - Complete Guide with Examples

PHP attributes, introduced in PHP 8.0, let developers attach structured metadata to classes, methods, properties, functions, parameters, and constants. They are conceptually similar to Java annotations and are widely used by Symfony and Doctrine.

Read More

Java Annotations - A Practical Guide with Examples

Java annotations add metadata (additional information) to Java code. They are widely used in Spring Boot, Jakarta EE, Hibernate, and JUnit.

Read More

CodeIgniter 4 config comparison

For CodeIgniter 4, a good approach is to compare your project's `app/Config/` files against the corresponding files shipped in `vendor/codeigniter4/framework/app/Config/`.

Read More

The preferred injection type in Spring Boot projects

In Spring MVC, ModelAttribute is mainly used to bind HTTP request parameters to a Java object (a model/DTO) and/or add an object to the MVC model.

Read More

ModelAttribute in Spring MVC

In Spring MVC, ModelAttribute is mainly used to bind HTTP request parameters to a Java object (a model/DTO) and/or add an object to the MVC model.

Read More

JSP (JavaServer Pages) tags

JSP (JavaServer Pages) tags are special elements used inside a .jsp file to add Java logic, display data, and control how a web page is generated on the server.

Read More

How to create a Symfony form that populates multiple entities

Use a form model / DTO as the form's data_class, then create/update the real entities after submit. This is usually cleaner than binding one form directly to multiple Doctrine entities.

Read More

Managing Linux Jobs from Bash - A Practical Guide

When working in a Linux terminal, especially over SSH or in long-running workflows, managing jobs effectively can save you time, prevent frustration, and keep your system organized.

Read More